package gat.infrastructure.persistence.po.backgroundUser;

import com.baomidou.mybatisplus.annotation.TableName;
import com.bitsun.core.framwork.infrastructure.persistence.po.BasePo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

/**
 * 角色信息表
 * @author: tmac
 * @email: tmac
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName(value = "u_role", resultMap = "roleMap")
public class RolePo extends BasePo<RolePo> implements Serializable{
    private static final long serialVersionUID = 1L;

    public RolePo(){

    }
    public RolePo(Long id){
        this.id = id;
    }

    /**
     * 角色名称 varchar
     */
    private String name;

    /**
     * 角色类型 int4
     */
    private Integer type;

    /**
     * 角色状态 int4
     */
    private Integer status;

    /**
     * 角色描述 varchar
     */
    private String description;

}






